package cn.yanghx.pay.vo.feign.wechat.app.query;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
 

import java.io.Serializable;

/**
 * 优惠功能，享受优惠时返回该字段。
 *
 * @author yanghx
 */
@Data
public class QueryPromotionDetail implements Serializable {

    //("券ID")
    @JsonProperty("coupon_id")
    private String couponId;

    //("优惠名称")
    @JsonProperty("name")
    private String name;

    //("优惠范围")
    @JsonProperty("scope")
    private String scope;

    //("优惠类型")
    @JsonProperty("type")
    private String type;

    //("优惠券面额")
    @JsonProperty("amount")
    private String amount;

    //("活动ID")
    @JsonProperty("stock_id")
    private String stockId;

    //("微信出资")
    @JsonProperty("wechatpay_contribute")
    private String wechatpayContribute;

    //("商户出资")
    @JsonProperty("merchant_contribute")
    private String merchantContribute;

    //("其他出资")
    @JsonProperty("other_contribute")
    private String otherContribute;

    //("优惠币种")
    @JsonProperty("currency")
    private String currency;


    @JsonProperty("goods_detail")
    //("单品列表信息")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private QueryPromotionDetailGoodsDetail goodsDetail;


}
